//
//  YWHandler.h
//  maintain
//
//  Created by 郑想 on 15/11/11.
//  Copyright © 2015年 ewin. All rights reserved.
//

#import <Foundation/Foundation.h>
@class YWOrganization;

typedef NS_ENUM(NSInteger, YWHandlerSex) {
    /*女*/
    YWHandlerSexFemale = 0,
    /*男*/
    YWHandlerSexMale = 1,
};
//项目成员
@interface YWHandler : NSObject
/**用户ID*/
@property (nonatomic, assign) NSInteger uniqueId;
/**用户姓名*/
@property (nonatomic, copy) NSString* userName;
///**家庭住址*/
//@property (nonatomic, copy) NSString* address;
///**用户邮箱*/
//@property (nonatomic, copy) NSString* email;
///**年龄*/
//@property (nonatomic, assign) NSInteger age;
///**年龄*/
//@property (nonatomic, assign) YWHandlerSex sex;
/**手机号码*/
@property (nonatomic, copy) NSString* mobile;
///**生日*/
//@property (nonatomic, copy) NSString* birthday;
/**头像地址*/
@property (nonatomic, copy) NSString* headIcon;
/**所在部门*/
@property (nonatomic, strong) NSArray *departments;
/**所在机构*/
@property (nonatomic, strong) YWOrganization *organization;

/**用户名称的汉语拼音，搜索联系人时用*/
@property (nonatomic, copy) NSString *pinYin;
/**用户名称的汉语拼音的首字母*/
@property (nonatomic, copy) NSString *firstLetter;
/**所在部门Id*/
@property (nonatomic, assign) NSInteger departmentId;
@end

@interface YWProjectMembersJson : NSObject
@property (nonatomic, copy) NSString *buildingId;
/**项目成员*/
@property (nonatomic, copy) NSArray* members;
@end
